home *** CD-ROM | disk | FTP | other *** search
- Path: dsi.unimi.it!berola
- From: berola@dsi.unimi.it (simona berola)
- Newsgroups: comp.lang.c++
- Subject: exec under Windows ?
- Date: 12 Jan 1996 08:19:07 GMT
- Organization: Computer Science Dep. - Milan University
- Message-ID: <4d55hr$n9m@tic.sm.dsi.unimi.it>
- NNTP-Posting-Host: tac.fddi.dsi.unimi.it
- X-Newsreader: TIN [version 1.2 PL2]
-
-
- Excuse me for my school English, but I'm desperate with Borland C++ 3.0.
- I need to know if there is a function or something else to execute a DOS
- program during the execution of another program written in C++ for
- Windows.
- I know that "exec" and "system" do this, but only for program write for
- DOS and not for Windows.
- Example:
-
- DOS WINDOWS
-
- main()
- {
- exec("edit"); ------------------> it's not possible ?
- }
- or
-
- main() I have no Compiling error
- { but i have 1 linker error
- system("edit"); ------------------>
- }
-
- N.B:My "dos" program must only write on file, and not on screen
-
- Thanks for your help
-
- e-mail: galvani@ghost.sm.dsi.unimi.it
-
-